# copy 命令
import sys

if len(sys.argv) < 3:
    print('Wrong parameter')
    print('Usage: py copy.py file1 file2')
    sys.exit(1)

f1 = open(sys.argv[1], encoding='UTF-8')
s = f1.read()
f1.close()

f2 = open(sys.argv[2], 'w', encoding='UTF-8')
f2.write(s)
f2.close()
